package java0107.s;

import java.util.HashMap;
import java.util.Map;

public class Java05 {
    public static void main(String[] args) {
        Map<Integer, String> map = new HashMap<>();
        map.put(1, "接肢葛瑞克");
        map.put(2, "亵渎拉卡德");
        map.put(3, "碎星拉塔恩");
        System.out.println(map.get(2));
        map.forEach((a,b)-> {
            System.out.println(a+" : "+b);
        });
    }
}
